package com.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.reggie.dto.DishDto;
import com.reggie.pojo.Dish;

import java.util.List;

public interface DishService {

    Page<Dish> selectByPage(Integer page,Integer pageSize,String name);

    int save(DishDto dishDto);

    boolean updateStatusById(Integer status,Long ... ids);

    int updateDish(Dish dish);

    void deleteByIds(Long ... ids);

    List<Dish> selectDishByCategoryId(Long id);

}
